<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@page import="com.hero.core.constant.SysDicConstant"%>
 <%@ taglib prefix="pm" uri="http://heroj.cn/permissionTag"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<head>
<title>ReportRepair</title>
 <script src="${cdnAddress}/js/boot.js${cacheVersion}" type="text/javascript"></script>
 <script src="${cdnAddress}/js/util.js${cacheVersion}" type="text/javascript"></script>
 <link href="${cdnAddress}/css/util.css${cacheVersion}" rel="stylesheet" type="text/css" />
 <link href="${cdnAddress}/css/common_view_seach_table.css${cacheVersion}" rel="stylesheet" type="text/css" />
</head>
<body>
<input type="hidden" id="projectName" value="${projectName}" />
<form id="ReportRepairListForm" method="post">
 	 <input class="mini-hidden" id="ids" name="ids" value=""/> 	 
  <div>
        <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
        <div id="formseach">
          <table class="commonTable" border="1" width="100%" bordercolor="#e5e5e5"> 
          	 <tr class="commonTr">
           	 <td>分公司:</td><td><input  class="mini-comboBox"   id="branchOrgId" name="branchOrgId" textField="orgName" valueField="orgId" url="${projectName }/OrgAdmin/queryList?orgType=1" onvaluechanged="onChangeBranch"/></td>
           	 <td>办事处:</td><td><input  class="mini-comboBox"   id="officeOrgId" name="officeOrgId" textField="orgName" valueField="orgId" url="${projectName }/OrgAdmin/queryList?orgType=2"/></td>
           	 <td>操作人:</td><td><input  class="mini-textbox"   id="createUser" name="createUser" /></td>
           	 </tr>           	 <tr class="commonTr">
           	 <td>设备类型:</td><td><input  class="mini-comboBox"   id="equipmentTypeId" name="equipmentTypeId" textField="dicName" valueField="dicVal" url="${projectName }/DictionaryAdmin/queryDictionaryByTypeIds?typeids=<%=SysDicConstant.DIC_PARENT_VAL_53  %>"/></td>
           	 <td>设备名称:</td><td><input  class="mini-textbox"   id="equipmentName" name="equipmentName" /></td>
           	 <td>操作日期:</td><td><input  class="mini-datepicker"   id="updateTime" name="updateTime" /></td>
           	 </tr>           	 
			 <tr class="commonTr">
			 <td colspan="6">
			 <a class="mini-button" iconCls="icon-search" onclick="seachRow()">查询</a>
			 <a class="mini-button" iconCls="icon-undo" onclick="resetForm()">重置</a>
			 </td>
          	</tr> 
          	</table>   
            </div>        
        </div>
    </div>
</form> 
    <div>
     <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
            <table style="width:100%;">
                <tr>
                 	<td style="width:100%;">
                 	 <pm:Permission moduleName="ReportRepair">
                       <!--  <a class="mini-button" id="addReportRepair" iconCls="icon-add" onclick="addReportRepair()">增加</a>
                        <a class="mini-button" id="editReportRepair" iconCls="icon-edit" onclick="editReportRepair()">编辑</a>
                        <a class="mini-button" id="removeReportRepair" iconCls="icon-remove" onclick="removeReportRepair()">删除</a>
                        <a class="mini-button" id="freezeReportRepair" iconCls="icon-lock" onclick="freezeReportRepair()">冻结</a>     
                        <a class="mini-button" id="freeReportRepair" iconCls="icon-unlock" onclick="freeReportRepair()">解冻</a>            
                        <a class="mini-button" id="importReportRepair" iconCls="icon-upload" onclick="importReportRepair()">导入</a>            
                     -->    
                     	<a class="mini-button" id="viewReportRepairBarcode" iconCls="icon-download" onclick="viewReportRepairBarcode()" width="90px">查看条码</a>
                     	<a class="mini-button" id="exportReportRepair" iconCls="icon-download" onclick="exportReportRepair()">导出</a>            
    <!--                <a class="mini-button" id="viewReportRepairDetail" iconCls="icon-download" onclick="viewReportRepairDetail()" width="90px">查看详情</a>     -->        
                                    
                     
                     </pm:Permission>
                    </td>
                     
                </tr>
            </table>           
        </div>
    </div>
   <div class="mini-fit" style="height:100px;">
  <div id="ReportRepairGrid" class="mini-datagrid" style="width:100%;height:100%;" 
        url="${projectName}/ReportRepairAdmin/List"  idField="id"   sizeList="[10,20,30,50]" pageSize="30" multiSelect="true" >
        <div property="columns">
            <div type="checkcolumn"></div> 
            <div field="id" visible="false"
           >主键</div>
            <div field="branchOrgId" visible="false"
           >分公司ID</div>
            <div field="branchOrgName" 
           >分公司名称</div>
            <div field="officeOrgId" visible="false"
           >办事处ID</div>
            <div field="officeOrgName" 
           >办事处名称</div>
            <div field="createUser" 
           >操作人</div>
            <div field="createUserId" visible="false"
           >操作人ID</div>
            <div field="finishDate"   dateFormat="yyyy-MM-dd HH:mm:ss" 
           >维修完成日期</div>
            <div field="createDate" dateFormat="yyyy-MM-dd HH:mm:ss" 
           >创建日期</div>
            <div field="duration" 
           >维修持续时间</div>
            <div field="equipmentTypeName" 
           >设备类型</div>
            <div field="equipmentTypeId" visible="false"
           >设备类型ID</div>
            <div field="equipmentName">设备名称</div>
            <div field="quantity" 
           >设备数量</div>
            <div field="shopId" visible="false"
           >店铺ID</div>
            <div field="shopName" 
           >店铺名称</div>
            <div field="businessId" 
           >业务单号</div>
             <div field="statusNumName" 
           >出入库类型</div>
            <div field="status" renderer="onShopGenderAction"
           >单据状态</div>
            <div field="updateTime" 
           dateFormat="yyyy-MM-dd">操作日期</div>
        </div>
    </div> 

    </div>
<script src="${scripts}/reportrepair/ReportRepairList.js${cacheVersion}" type="text/javascript"></script>
</body>

</html>